/**
 * Created by admin on 2017/7/16.
 */
var WEB_URL = 'oil.mankaa.com';
var IMG_URL = 'oil.mankaa.com/frontend/';
var href = window.location.href;
if( href.indexOf('https://') >= 0 ){
    WEB_URL = 'https://' + WEB_URL;
    IMG_URL = 'https://' + IMG_URL;
}else{
    WEB_URL = 'http://' + WEB_URL;
    IMG_URL = 'http://' + IMG_URL;
}